package com.example.demo.service;

import java.io.InputStream;
import java.util.List;

import org.activiti.engine.task.Comment;

import com.example.demo.entity.LeaveInfo;
import com.example.demo.entity.WorkflowBean;

public interface LeaveService {

	
	
	
	/**
	 * 新增一条请假单记录
	 * @param entity
	 */
	void addLeaveAInfo(String userId,String msg);
	
	LeaveInfo getLeaveInfo(String leaveId);
	
	List<LeaveInfo> getLeaveInfoByUserId(String userId);
}
